package com.apex.system.service;

import com.apex.system.dto.SysUserDto;
import com.apex.system.entity.SysUser;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;

public interface SysUserService extends IService<SysUser> {

    //查询用户
    SysUserDto getUserInfo(Long userId);

    //修改用户信息
    Integer updateUserInfo(SysUserDto sysUserDto);

    //新增用户信息
    Integer addUser(SysUserDto sysUserDto);

    Page<SysUserDto> selectAll(Integer currnetPage, Integer pageSize);
}
